
#!/bin/bash

#urls=("http://localhost:8094/consumer/tt" "http://localhost:8094/consumer/tt2" "http://localhost:8094/bucket/ttb" "http://localhost:8094/bucket/ttc" "http://localhost:8094/bucket/moveProjectBucketFile" "http://localhost:8094/bucket/moveProductBucketFile")
#
## 循环发送请求
#for url in "${urls[@]}"; do
#    curl -X POST -s -o /dev/null "$url" &  # 使用-s选项静默执行，-o /dev/null将输出丢弃
#done

#curl -X POST -s -o /dev/null http://localhost:8094/consumer/tt &
#sleep 1200
#curl -X POST -s -o /dev/null http://localhost:8094/consumer/tt2 &
#sleep 1200
#curl -X POST -s -o /dev/null http://localhost:8094/bucket/ttb &
#sleep 1200
#curl -X POST -s -o /dev/null http://localhost:8094/bucket/ttc &
#sleep 1200
curl -X POST -s -o /dev/null http://localhost:8094/bucket/moveProjectBucketFile &

curl -X POST -s -o /dev/null http://localhost:8094/bucket/moveProductBucketFile &

wait

echo "所有请求已执行完毕"